home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / QBWIZ12.ARJ / SHOWCUR.ASM < prev    next >
Assembly Source File  |  1991-02-20  |  1KB  |  42 lines

  1. comment #
  2.  
  3.    +----------------------------------------------------------------------+
  4.    |                                                                      |
  5.    |         QBWIZ  Copyright (c) 1990-1991  Thomas G. Hanlin III         |
  6.    |                                                                      |
  7.    |                       QuickBASIC Access Library                      |
  8.    |                                                                      |
  9.    |               assembled with the excellent OPTASM by SLR             |
  10.    |                                                                      |
  11.    +----------------------------------------------------------------------+
  12.  
  13. #
  14.  
  15. public  SHOWCURSOR
  16.  
  17.  
  18. .model medium
  19.  
  20. .code
  21.  
  22.  
  23.  
  24. SHOWCURSOR    proc                     ; see if cursor is visible
  25.               xor            ax,ax
  26.               mov            al,b$UsrCsrOn
  27.               or             al,al
  28.               jz             Done
  29.               mov            ax,-1
  30. Done:         ret
  31. SHOWCURSOR    endp                     ; see if cursor is visible
  32.  
  33.  
  34.  
  35. .data
  36.  
  37. extb  b$UsrCsrOn
  38.  
  39.  
  40.  
  41.               end
  42.